package cn.wzptsoft.mall.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.swing.*;
import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PutOrderDTO {
    private BigDecimal totalAmount;
    private Integer totalCount;
    private String tel;
    private String snapAddress;
    private List<SpuInfoDTO> spuInfo;



    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class SpuInfoDTO{
        private Long spuId;
        private Integer count;
        private Long skuId;
        private String skuTitle;
        private BigDecimal skuPrice;

    }
}
